-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
85% working list item detection and notation #65
base: master
Are you sure you want to change the base?
Conversation
…plitting spans need to determine how to add the generated span to the output structures
…into the page heap none worked well
appending the lines here using various bboxes creates mangled output |
PDF I was using for testing the trivial cases |
This may work as of the last pull. I guess I needed to rubber duck. outstanding questions. should we convert list outline format to fully identified format for LLM parsing:
this can be hard for llm to parse especially in long and deeply nested lists. we could in markdown output lists as
How can we generalize the tab stops for the indents. I think we'll need a bunch of docs and figure out how to determine them. |
Semi working example of List Item detection
having trouble with manipulation of the schema.
Belwo are some examples of the current output.
[90-2] means the bbox-x is 90 and 2 means it is indented twice
problems i'm seeing are that i cannot merge spans/lines to prevent improper line breaks
2 i can't figure out how to split spans/lines so i can add line breaks where they are actually required
Procedure 611 - Mentally Ill Persons
Upon recognition of a mental health crisis situation the officer's responsibilities include:
illness;
.05 Crisis Intervention Team (Cit) Officers
the 40 hours Crisis Intervention Team training. [72-1]B. CIT Officers are assigned to regular patrol duties and when available respond to situations involving persons who are
experiencing a mental health crisis. [72-1]C. The CIT Officer at the scene of a call involving a mental health crisis situation has the responsibility for handling
the situation unless otherwise directed by a supervisor. The CIT Officer should ask for additional support, if necessary. [72-1]D. CIT Officers may only take the same courses of action as other patrol officers when handling a mental health crisis.
The courses of action are listed in Section .08 of this procedure.
.06 Initial Response
Crisis Call.
has occurred or is occurring, and corroborating factors exist that establish a mental health nexus.
and dispatched to the scene.
in Progress, Mental Health Disturbance, Mental Health Routine);